
def countchar(str):
    """统计给定字符串中每个字母输出的次数"""
    result = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    for x in str:
        if (x <= chr(122) and x >= chr(97) ) or (x <= chr(90) and x >= chr(65)):
            for i in range(0, 26):
                if ord(x) == 97+i or ord(x) == 65+i:
                    result[i] += 1
    return result

if __name__ == "__main__":
    str = input()
    print(countchar(str))